Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODClipboard


ActionDone

The ActionDone method is called to notify this clipboard object that a Cut, Copy, or Paste action was done.

ODUpdateID ActionDone (in ODCloneKind cloneKind);
cloneKind
The kind of clone operation that copied data to or from the clipboard. The clone kind must be one of Cut (kODCloneCut), Copy (kODCloneCopy), or Paste (kODClonePaste).
return value
The update ID identifying the version of the clipboard content involved with this operation.
DISCUSSION
Your part should call this method whenever it performs a Cut, Copy, or Paste operation. You should cache the returned update ID in case you ever need to undo or redo the action. Your part should not call the ActionDone method after pasting a link because that action does not get content from the clipboard.

EXCEPTIONS
SEE ALSO
The ODClipboard::ActionRedone method (page 87).
The ODClipboard::ActionUndone method (page 88).
The ODPart::RedoAction method (page 539).
The ODPart::UndoAction method (page 549).
The ODUndo class (page 806).
"Clipboard Update ID" on page 353 in OpenDoc Programmer's Guide.
"Undo for Clipboard" on page 354 in OpenDoc Programmer's Guide.
"Copying or Cutting to the Clipboard" on page 355 in OpenDoc Programmer's Guide.
"Pasting From the Clipboard" on page 356 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help